package com.cw.jeeyt.service.bo.security;

import java.io.Serializable;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import lombok.Data;

/**
 * 角色资源实体类
 *
 * @author chenw
 * @version 1.0.0
 */
@Data
public class SecurityRoleResourceBo implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键id
     */
    private String id;
    /**
     * 角色id
     */
    @JsonSerialize(using= ToStringSerializer.class)
    private Long roleId;
    /**
     * 角色名称
     */
    private String roleName;
    /**
     * 角色说明
     */
    private String roleComment;
    /**
     * 资源id
     */
    @JsonSerialize(using= ToStringSerializer.class)
    private Long resId;
    /**
     * 资源名称
     */
    private String resName;
    /**
     * 资源url
     */
    private String resUrl;
}
